package cn.imnaer.service.rpc.schedule;

import cn.imnaer.service.persistence.model.Schedule;
import cn.imnaer.service.rest.resquest.model.AppendScheduleParams;
import cn.imnaer.service.rest.resquest.model.ScheduleCreateParams;
import cn.imnaer.service.rest.view.model.SimpleSchedule;

import java.util.List;

public interface ScheduleComponentRpcApi {

    public Schedule create(ScheduleCreateParams scheduleCreateParams);

    public List<SimpleSchedule> getScheduleList(String userId);

    public void deleteSchedule(List<String> list);

    public Schedule getScheduleDetails(String scheduleId);

    public void update(Schedule schedule);

    public void append(AppendScheduleParams params);
}
